package com.handyshop.mall.dubbo.user.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.handyshop.mall.dubbo.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@ApiModel(value = "会员等级权益表")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "nrs_user_level_equity")
public class UserLevelEquity extends BaseEntity {
    /**
     * 会员等级id
     */
    @TableField(value = "level_id")
    @ApiModelProperty(value = "会员等级id")
    private Long levelId;

    /**
     * 权益id
     */
    @TableField(value = "equity_id")
    @ApiModelProperty(value = "权益id")
    private Long equityId;

    public static final String COL_ID = "id";

    public static final String COL_LEVEL_ID = "level_id";

    public static final String COL_EQUITY_ID = "equity_id";

    public static final String COL_DELETE_FLAG = "delete_flag";

    public static final String COL_CREATOR_ID = "creator_id";

    public static final String COL_CREATOR = "creator";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_MODIFY_TIME = "modify_time";
}